Moved function to register virtual wuclass from wkpf to wkpf_virtual