First workable version of SigmaDDs. Need to test and refactor some
details.