Automatically generate lazy getters for properties.