Re-add getContents() method