Laid some kludgy groundwork.