Fixes #723.

If class loader is not set in config then context class loader will be used.