Use ReflectionUtils to set the world type.