Support ndsdpvars. Fixes #164
Fixes #163