Add the code to check pending expressions.