[#144] Replicate setter implementation for getters

Hi @aaberg, please review these changes. I replicated the setter methods logic for the Getter methods, but please modify/change what you consider :). Thanks\!