Can't you just return a binary?