Added a byte getter to ByteArray and cleaned up some size types