Replace getters in MarkupEntry with direct access