I just copied this code  from emr module, just curious why is it using reflection?