Removed setting Type attribute. Using _type instead.