Added support for Success/Failure/Before actions