Implementation of the Observer pattern for model association