Added support for boolean statements as last element of try block.