make Task types public for serialization