Remove references to flask