Added support for actions.