[DF-2932] Massive refactoring after review. Setting/Getting value is now faster.