Added missing function prototypes.