Updated to reflect npm changes.