Added method option when defining action