Remove a friend declaration from the TTF and use static member functions to access protected static data members.