Refactoting TaskPolicy (avoid inheriting from AttrDict).