Adding a docstring lookup to describe validations, fixing HTTP codes for exceptions, and a few cleanups