Build up RecordManager.h according to API