Validate option hashes when passed to methods.