Remove left-over import of all_warnings