Remove references to function dir
Fix wildignores