Some changes on Add reference