Make cameo 100% compatible with cobrapy