bring unused_imports attribute to the top level