Refactor MorphiaDaoWrapper