Modify controller arg of a class, from "self" to "request". This is due to Mako using the same keyword and causes error in Python.
Modify all return statements from dict ({data: data}) to locals().
Remove file: filters.py.
Remove function: get_methods.
Remove import: filters. This module now does not exist.
Move mako_view decorator above the method loop. It does not need to be looped.