Added function prototypes to silence compiler.