Added a signature tag matching function.