Almost done with transition to Flask.