Add transformer to add methods to Container classes.