Check class type early

I think it's better to define the needed class type in the function's argument instead of doing an unchecked cast at later time, because the classes in the "respondsToUpdatedOf" array need to extend the Model class anyway.