Made success and error callbacks optional
Merge pull request #3 from tagawa/small-edits

Made success and error callbacks optional