Add promise support
0.2.0