Delete redundunt example code
add methods to Kernel instead of Object in Engine::registerVariant