Adds some library boilerplate.