Remove library registration