Fix docs and restore 500 response.