Fix up syntax for references and pointers to be consistent.