FIX: dtr
Factor out emit_tunables
Add tunables to table iff they were originally passed.