add Branch method for payload
Merge pull request #1 from compressed/branch_helper

add Branch method for payload