Laid some foundation code.