Pass correct arguments to constructor.