Add before/after/around persistence callbacks.