Cleaner way to do this with render hooks? - Filament