Pass all method parameters in constructor
Support deprecated for a while
Merge pull request #56 from baby-loris/method

Pass all method parameters in constructor