Add API.answer(index) method