Adding annotations for domain objects