Add library checks