Fixes in the declaration of annotations (where they can be used).
Added default value for Reference.ReferenceAttribute