switched route in __doc__ to params class. added comments.