Minor refactoring reducing the number of parameters to matching_instance_methods.