add "action" and "method" to attr shorthand methods