Example library code.