Add checks for all required arguments.