Add a few reference utility functions