Improved docs a bit more
Handle cases where the same parameter is specified multiple times

Fixes issue #22