What is the clean way to include an ISR in a library?