Fix doc to use correct method names get_id and get_type.