Use new endPersistence() method when returning State PDO model