clean up compiled code for functions/methods