Add support for negative offsets.