Added several opts to schema flattening methods