Setting current scope only if transformer is instance of TransformerAbstract