shim added for 2.7.