namespace'd rest functions