Pass controller instance into 'release' callback

Just a minor tweak so that controller `'release'` callbacks can have a reference to the instance that was released.