Add direction to range object.

Closes #14.