Remove useless method resource