scalar.ref

Reference types and helper functions