Global scope cleanup