Added support for custom "action" attributes.