Getters should be used

Since `parser` and `generator` became private