public function oldDispatch()
    {
        // For each update type
        foreach (BasicBot::$update_types as $offset => $class) {
            // Check if the bot has an inherited method
            if (method_exists($this, 'process' . $class)) {
                // Wrap it in a closure to make it works with the 3.0 version
                $this->answerUpdate[$offset] = function ($bot, $entity) use ($class) {
                    $bot->{"process$class"}($entity);
                };
            }
        }
    }