Add uri method into graffias.groovy