added reference support to HyperSchemaFactory