cleaning up metadata class. Removing validation from setters