Adding path to attributes.