Moved location inheritance for containers to BaseContainer