range -> xrange where appropriate.