add - class for DOM extensions api