Return null if null supplied.