Centralize observer definition