Add missing throw() in methods declarations