[#1042] Remove unused endpoints

Fixes #1042.