clean up prototype declarations