Adding some OSX funcs