Added utility functions in osl_array