Make source directory optional.