How to add custom function to a composable - Alokai