code-assist: remove some dead code