Pass around the extent as an object.