Pass grunt reference to function options