Persistence state tracker for DataMapper 2