Fixed typo.
Fixed another typo.
Added parsing of the parameters.