JCH's code library.