Readding dist. Fixes #23, #36.