Centralizing common read/write related methods for primitives in superclass.