No need for the nested function as Python methods are bound...
More helpful rendering error display; rendering error tests.