Task service interface + implementation.