It seems the filter needs `includeDir` passed in to pass it on to `parseLayoutFeatures`. A shame that features are parsed again here.