Since this is the same for all supported backends, wouldn't it make sense to move it into base.py instead?