Laying the groundwork for unit tests.