Rename `check` to `validate`.

Closes #83.