removing existing ref/rep relations where appropriate
removing unused copystrategies