Introduce Reference type.
Fix VS extension.