Actually on second thought I'll make the RC change in a separate diff. For now we can assume `RefCounted` is fine to use.