Clean up session model.