Changed to use ERNNullResource class