Add classLoader argument.

Change-Id: I2bd0cadc5e109b266f0de1626d809635e53adadf
Reviewed-on: https://pirx.atteo.com/gerrit/533
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>