Also support signature 2 to python