Fix some synthesis warnings.