DocEventCap renamed local variables