Adds all references