Modified Observation class from Scott