Handle annotations with no resources.
Merge pull request #3393 from brendandahl/no-resources

Handle annotations with no resources.