Changed hierarchy by adding WorldObject class.