For review purposes only. Support for osl_loop.

Not to be merged.