add support for Model#unload and subscription contexts