Add some javadoc to AttributeDefinition and builder