Dissertation version 1.