Do not use NPE for consistency checks