Fixed CustomValueObjectFactory.stg. refs #489