Expand the sv_lib template