Split library from client code