Implement `end` property.

Closes #34.