Added type attribute;