[CLEANUP] Simplify a condition.
[CLEANUP] Remove redundant throws.
[CLEANUP] Simplify ifs.