Added favorites API.