Registering all preInit()-stuff