[pyqr] Rename internal functions.