The San Francisco 49ers are bucking a trend.