Added the Document Action class + Input checking