Updated to v0.2. Added support for promise style.