made Metadata members private with getter/setter methods