Refactored action helper to use paths, added target deprecation warning