Remove dead code as per review comment.