Make sure required arguments are present