Refactor codes

Drop the use of 'getter' method nomenclature, and use more succinct style.