Rewrite package to Meteor 1.0