move prototypes to parrot header