Update to new usage of pow.