Prevent users from adding reference multiple times