layers: Add constructors for layer_data
10 files changed