Pull quote function out into a library.