Remove unreachable internal code

- partially
- checkMethod with 4 arguments