Added missing write prototypes.