Support for saving references