Set up call to finalize handler if needed.

This means the rest can be wired up in HLL code.