Update for pyqi 0.3.1 release