Flatten the hierarchy