Checking if Observer class exists before calling it (not required).