Added resume functionality.