Shortened error checks.