Add functions to tools