Adds method to get module factories