Remove dead code
Reset function for RClass ancestors
Test for protocol method annotation generation.