Removed exportpattern()