Automatic getters for models