service/middleware/auto-install: remove unused methods