CustomerDao refactoring.