Remove code which expects new to return null.

new throws an exception on failure instead.