removed unnecessary matcher; added method_def regex and specs