Add structure inference to partmap declaration.