Add python prototype