Add associations to resources