Add support for nextTicks.