refactors the inf. oo
variable scopes in Python.