Began adding additional argument validation.
Began adding argument validation so that better error information can be provided.