Allow setting attributes externally.