My worry about this is to add a new msginfo, you will need to make changes in different parts of the code. What about when defining the possible analysis (datatype:analysis) you can also add the function that will be used for searching and just doing a call to something like `msginfo["type"]["search_func"]`