Refactor generation of attribute metamodels
keep doc in runtime annotation