We would need the following API extensions for ```Library```: ``` lib.name = new_lib_def.lib_name # not in API ``` or ``` lib.rename(new_lib_def.lib_name) # not in API ``` and ``` lib.unregister() ```