Allows creation of classloaders with given parent.