Adds specialization for void arguments and return types.