Issue #5933: Remove getter

Remove getter