Add path validation