Throw NPE if `null`.