redesigned the ensure and method keywords and registers and usages
fixed miscellaneous issues with the validate_document method including proper field requirement usage