Better naming, coding style for extent.pyx.
Remove old version code.