Added support for invoking actions by class name.