compatibility with new 'pyte' version.