Create convenience mixin to manage subscriptions

See issue #7