Added support for the 'peventSuccessClass' option