Check for required arguments