Fixed an issue where AnnotationMetadata was not valid. Fixed an issue where empty dependency parses could result in a Thrift error.