Refactored optional path argument.