Further refactoring of the MethodProcessor