Support ref desugaring
Add ref desugaring TODO
Delete logging statements which do nothing