Add layer-specific memoized filter callback handling