Improves structure of addMeta method