Updated methods used to automaticall add or remove associations from corresponding associative repositories.