private function add_default_data($data = [])
    {
        global $wp_query, $post;
        
        $data['wp_query'] = $wp_query;
        $data['post'] = &$post;
        $data['current_view'] = $this->current_view;
        $data['request'] = Request::get_root_instance();
        $data['errors'] = Validation::$errors;

        return $data;
    }