Just added some new function prototypes and did some basic formatting.