Fixed xcode warnings.
Resolved (self-warning) in KSPromise library.
Added parameter names to typedefs for nice autoexpansion in XCode.