Remove useless method definitions