Added role as parameter.