Added API call: addActivity.