Fixed: type map was lost after PHP process dies.