Remove some not-needed stuff.