[NUCCORE-1198] Drop PersistenceFlags class