Fix incorrect example in api docs