Add functions to new libraries