Added public insert method to Transformer class