Improving python wrapper casting to do pointers correctly.