Add header and rows methods

Closes #27