Fixing python wrapgen error. Fixing loaded plugins error.