Changes warning level of closure