Remove some redundant stuff.