Paste needs the app factory.