[task] deprecated old API, added minimal stub for new API