This function is never used from the view or link function, so it doesn't need to be on the scope.