Further fixes for instantiating params with void types, resolves #737