Fix#271.Allow explicit return None in function returning None.