Add deadline attribute for Task