Remove function and switch to pe.dic.get calls in its place