ResourceRoutesBuilder and ResourcesRoutesBuilder refact.