Library boilerplate