Added functionality to return latest activity model.