The two classes are virtually identical and so I'd like some way of sharing the code so that when we find a bug in one, the other gets the patch.