Make module.parent available.

Fix for #318