Move dctref prototypes to a header file