Add pullData() that is more generic version of pullHeader().