Fix PrepareEmit error when evaluating delegates

The delegate class did not use the internal cache flag as other type definitions which cause the next evaluation to fail.