Added get_generic with example usage