public function add_page( $config )
    {
        foreach( $this->required_params() as $param )
        {
            if( !isset( $config[$param] ) )
            {
                throw new \RuntimeException( 'Missing required parameter "'.$param.'" for submenu' );
            }
        }
        $this->config['submenu-pages'][] = $config;
    }