By moving all common operations to a parent class we can significantly reduce the vtk-m library size.