Added interface for world objects.

Made changes in: WorldObject