Add ability to encode NULLs