Changed default behavior for object validator and null.