Reduce a lot of code duplication after MySQL merge