Added support for primitive const refs