Return router class, instead of instance