trying out modeling mixins as ring-style middlewares