added deprecation warning for entryPath