Fix model factory for Observation.