Fixed issue #4 - Added delegate assignment in method call. Updated sample and documentation.