Simplify argument checking