Fix API doc examples