Issue #2151371 by helmo: Allow custom platform tasks.