Fixed constructor with path argument.

That constructor was missing essential setup.