Feature/3 metadata types

Fixes #3. This is done, unless there's any specific metadata type we can't think of that has given us problems in the past.