Added not-yet-working code for prioritising C functions.