added reflecation for callback class