add types to rest command