I'd prefer those getter functions impl put in header, so that they can be inlined.