Added methods that can't be tested because web2py parameters are passed in