Added delegate cache to the createDelegate code
Merge pull request #3 from labriola/develop

Added delegate cache to the createDelegate code