Check section 2.3.6 of my guide. It has the code to add extra image analyzers instead of extending or monkey patching existing ones.