Fix formatting issues, primarily around header comments.
This commit makes sure that the `type` of a property is generated property if the getter of the property is annotated. Previously, a type implementation may expose the annotation information. Closes gh-11512