How to Write a Wrapper Library