Remove useless code and clarify comment.