Ensure that we have a task or call object

Can't call `.pre` or `.post` on a string