Add nextTick wrapper