Move on_destroyed() signal to the base class.