Minor fixes and set API in world.