I read through the file and looked up the definition of each function/type used.