Made the model inherit from the SpatialModel. Don