Use res-auto namespace declaration