Implement `PUT`.

Closes #48.