allow Nullable.<void>

Please refer to the discussion on #306.