Fixed Object.As to not require not null argument.