Add some missing prototypes to private headers