Implemented an additional API function for creating link mappings.