Upgrade to new Meteor APIs.