Finishes up conversion to library.