PROW-151: Checking for null values, adding @Nonnull to copy constructors +review CR-10662