Ignore stats and static dirs.