runtime/tables: A few miscellaneous fixes.