Module boilerplate.
Initial import of earlier work.