Removed dead code and added a comment.