Cleaning up the router of com_wrapper

This simply removes unused code from the router of com_wrapper. This is basically untestable, so I ask the maintainers to merge this based on a code-review.