Instead of extending the class, this could be a class containing the object and a set of updatedFields. Then we can use it for different kinds of objects.