Adding "from_raw()" factory method