Made package compatible with Blaze (Meteor 0.8 and up).