Getting rid of byte[]