Changes pausing functionality.
Re-added missing delete_session functionality.