Added convenience scalar functions