Extract instance tracking from Model into generic mixin