Refactored ServiceMethodDelegate to return a Task<byte[]>