Added getRawData method