Updated for khepri V1.0.0
V3.3.0, rec and funciton based thunks. fixes #4