Added $options parameter to beforeSave and beforeValidate method.