typing: advice if a receiver is nullable