 Cameron took an important part in the work of codification begun by Macaulay, and was Macaulay's chief adviser and co-operator in the preparation of the penal code (Trevelyan, Macaulay, i.427.443, 463).