Added handling of invoke ranges
Added __str__ message to the structure