Open and close library objects.