Add schemas code, second attempt.

Sure, my point was more that if they are the exactly the same operations it would be easier to make that explicit rather than rely on me assuming that they are the same because I wasn't able to spot the difference.