API module flattened