Common Playlist interface. Code cleanup.