Added support for transforming define.extend