Handle params equals empty string correctly and update docs.