Implemented remove() function in GenericDao.