Updated the matchconditions decorator to use method names