Adding position attribute.