Add some functions to the standard library.