Moved registration of parallel loading suport ahead of class construction

Backport of a418d59f864e54a39feefc2fd36b6fb077d7558f