Clean up 'empty statement' test.
Fix 'write' functions for 'Value' types.