Added methods to transformer
Added missing @throws documentation