Corrected examples in API docs