Automatically format imports