Added support for processing hooks to enable extension of action
handling