Add rescan_library() method