changes the signature of beginReport methods so you can easily use them from code
Merge pull request #9 from balauru/master

thank you