Only consider elements w/o type attribute to be types