Implemented initial favoriting functionality.