Add docs to playlist.middleware