Don't use tools class anymore in transformer