Prepare Library- and CollectionController for new app state API.