Set external references