spec: remove dead code