Improve error checking for SSHS helpers.
Complete auto-completion support with the value part.