made LeafRefCandidateT son of LeafCandidate and not templated