Changed persistence to err aware callbacks