Fixes to T_RATE and calling the library.