Removing unused assignments. initializing instance and class variables in actions