Implemented CustomValueObjectFactory.stg. refs #489