Fix synthesis warnings