Cleans up old unused variables.