Adding custom getters and setters for DomainObjects