Added data-contents-only support, based on kelvinhammond's attempt to do the same.