Theta-function changes and additions.