Adding documentation for magic methods used to get module instances
Some added security