Add class parameter that is used to obtain class loader from which LDIF file is read. Required for OSGi environment.