Add inline modifier to getter.