Rename start/endPosition to start/end