Implement `end` property.

Closes #114.