Updated Collapse to definitions

Updated Collapse to definitions - Will not only collapse to the type
definitions, but will collapse regions