Match latest npmjs api changes
0.3.0