Fixed /messages (formerly a TODO)

Closes GH-173