Add documentation for all source functions and most fields