public function target(Table $table = null)
    {
        deprecationWarning(
            get_called_class() . '::target() is deprecated. ' .
            'Use setTarget()/getTarget() instead.'
        );
        if ($table !== null) {
            $this->setTarget($table);
        }

        return $this->getTarget();
    }