Add helper functions to create pointer values