Added support for action classes.