Generate also getters in the lazy proxy class

Change-Id: I6042f432457c2c34c618c926841f514e81020a1e