Fix API examples