Remove unessisary code setting $user replacing with $self.