Fix handling of no required args in RestResource