Move interface checks into a test file.
Adjust a doc comment.
Dereference values consistently.
Clarify an error message.