Fixed hierarchical getter for calling, added example in Main for hierarchical getters