Add shuffle functionality.