Modified the creation of reflection classes within the initialization.