Restore layer_names for compatibility