removal of unnecessary constructor arguments.