Fixed bug #11156: Misbehaviours due to integration of autoloader (XCLASSes)