Fixes to (primarily) runtime.dart.