Added `getTaskNames` method to `MagicFactory`