Added code for registring getClass service, needed by new Passerelle