Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily.