Added support for optional payload parameters.
Unfolded methods.
Merge pull request #1 from pahearn73/develop

Added support for optional payload parameters.