Changed api for trigger components