Remove unused API of fetching by id