Ad an api for extension components