Added EntityMetadata
Added GetEntityMetadata to entities