implements getting MetaData for Entities, fixes isInvisible