pow: modernize

@mikemcquaid as you requested.