Added overlayClasses option which takes list of overlay classes