Changed Transform takeElements and dropElements to accept ByteString