No need to preg_match() in this case.
Add hook to allow Diagnose modules to perform actions.
Add optimize table action.
Add id to each table entry