Remove some invalid methods