Refactor the interfaces, to match best practices mentioned in effective Go https://go.dev/doc/effective_go#Getters