API doc improved