Add resource reference.