Fixes to the method processing code.