Encapsulated MetaData members. Added helper functions for common tasks.

nullptr?