Improved/sanitized use of parent class loader in extensions