Change constant to new class location in observer