Understanding DocTypes and Field Types