Fixed up better prototypes for the newtypes