change to pre/postRPMCallback signature