Improve comment.
Reduce ifs.