Changed arg "name" to "method".