Added code to strip const in C -> Python conversions.