trigger_custom_event and merge_table_records_with_pk api's integration

Let's add some space here to make it clear the delimitation between the top accessors and the methods