Store shape-specific data with path