Add to library code