Finalizing all functions and function documentation