Switch to using a type attribute to specify node/way/relation.