Remove redundant refs