Added convenience method to create references