Fixed arguments to the class constructor not being passed