Remove some unnecessary logs and comments.