Allow for passing in the metadata when creating a task detail entry.