Wrong object was being instantiated - although lucky enough, everything except the getAveragePixelColour was signature-compatible!