a mixin to record history about objects