Added self. for global variables.