More compact checking for missing variables. #113