Pass all method parameters in constructor