Remove unused code from nexus-scheduler