Restore helper classes' __exit__ methods.