Fix issue with base classes in GWtasks