Extra input checks.