Added `module_name` attribute.

Closes #205
I think it should be tested, because there will be libraries that currently require this to work.