Added `module_name` attribute.

Closes #205
could this possibly also need to take `header_mapping_dir` into account?