Changed API to support transform of JSX