added generator support for less