Remove useless logs. Add comments.