Fixed typo with removeStaticMethod().