Documenting return type of getMetadata method.