Adding missing unrefs