Make recommender dependencies optional