Add grant_flows option