Fixed return type.
Merge pull request #156 from redboltz/fix_example_issue_155

Fixed return type.