Move Extent to extent sub-package.