Adding $slg->parse() method