Remove some unnecessary stuff.