Edited DAO. (add methods to the interfaces)