Remove unreachable internal code

- partially
- checkMethod with 4 arguments
Merge pull request #310 from fson/remove-unreachable

Remove unreachable internal code