Added throws in methods that lacked it