Remove some osx tweak function