Removed redundant test of directory parameter, restored version as a required constructor param. (#159)