Add factory methods to domain objects