include 'with_source' attribute for mirror define