Add custom filters and locals to options