The `block` module does not follow the `encapsulate` pattern but we can still use the getters instead of accessing the inner field directly. Refactor, no logic change.