Generalised common classes in preparation of custom Surf processor support