Remove needless function