Use self pointer for class variables.