Adding a new helper function for wrapping lists.