Add lag checking mixin.