Fixed doc string and inputs.