Declarative model middleware for meteor.js