Made geometry object implement the same interface