Initial commit, completely untested.