Removing unneeded instance variables.