Add methods to return null for Arrays and Objects.