Tidy up formatting.
Exclude "functions" that are really static methods.