Changed Geometry to an interface.