Reformatting.
Don't reset optimizer after each update.