Removing unnecessary operations from daos