Duplicate TAC utility functions and isolate rest.