Added util for recording invocation history of a proxy