Accept integer and null