Extract methods from Favorite and Shoppinglist toward the general
superclass and make the classes extend from it.