Allow setting of the adapter to allow persisting the attributes