Handle OL dependency using require