Remove the `from` and `to` properties in favor of `range`

Closes #29.