Multiple scopes closing example.