Generate code for null