Modify order of matching to perform Method match immediately after path
match.