API doc + removed useless statement