References removal