Added getdata command.