Put the retval into a code block so that the compiler won't complain if the retval is not used
Support the appCanCreateInstance and appCreateInstancesAtStartup in the enable_wuclasses.xml in the GUI editor