Clean up function prototypes