Initial code commit, untested.