Removing unnecessary private variables.