Add profiled only if the value is defined