Updated create method

create method when defaulting to "DOM" sets the type to "dom"