Add router class.