Remove needless functions and settings