Cleanup molecule matcher.