[++] extend prototype only when value is not null