I don't much like having it templated on the ref type as well.