Simplify task definition