Added ability to create Klass instance from path.