Simplify validation decorators.
Use flask's builtin after_this_request decorator.