Snapshot for Ali (coincides with phantomas1234/cobrapy@770724e5a5c1995853be7ab5d59af6edcff78319).