Corrected api doc for a method.