Remove unnecessary constructor parameters.