Added param doc
Fixed param parsing