Added get_name and get_type. Still not working as expected, however.