Function prototypes.