Added favorites API to models