Initial implementation of references