Add external attribute to output.