Made attributes of the WorldInventories class protected.