Added thickness attribute.