Making this module compilable, but by no means ready to run.