Cleanup unneeded stuff.