Add unload feature for controllers and models