Avoid duplicate code - Filament