gre: Move to new API generated types/messages