Added some documentation of metadata exceptions and metadata in general.