Most of the functionality of CPATable added.