Added ref type indicator.
Added update! combinator.
Code clean-up.
Doc updates.