Add an `IExtent` interface. For #550, #553