Return target in extend, improve minifying