Add library functionality