Shouldn't it return null? and add doc to describe this?

Same below.