Updated for new release system.
Use ReflectionUtils to set the world type.