v4: document activities API.