Rollback @topless PR.
Simplify API registration with resource decorator (see flask-restful/flask-restful#311).