Initial add of pre-existing code.