inline simple dom-class method #3646   Global require reference was
causing problem for zazl loader #3765