Fixed constructor of Record, missed $data as argument #2