Added some API files for reference and modified the Flat map.