Fixed context-based delegate error.