How to reuse functions using services - Filament