Removing deprecated and unused recommend code