public function cascadeCallbacks($cascadeCallbacks = null)
    {
        deprecationWarning(
            get_called_class() . '::cascadeCallbacks() is deprecated. ' .
            'Use setCascadeCallbacks()/getCascadeCallbacks() instead.'
        );
        if ($cascadeCallbacks !== null) {
            $this->setCascadeCallbacks($cascadeCallbacks);
        }

        return $this->getCascadeCallbacks();
    }