Minor fixes in pow.