Refactored due to dumb Meteor file ordering.