Removes redundant self