Fix for registeredClasses during program launch