Make weight parameter is optional.