Moving functions down one module as a workaround to get django-extensions shell_plus working.