fix visibility problems for instantiation
Merge branch 'master' of https://github.com/AdeleResearchGroup/ApAM
fix visibility problems for instantiation