Fix problem where parent classloader was not included in non optimised classloader structure.