fix up kew type annotations

Hello @chaosgame, 

Please review the following commits I made in branch 'nick-failbound'.

77406c9ab88ab69e0a25c287980abf156d35b2e9 (2014-09-29 16:54:59 -0400)
fix up kew type annotations

R=@chaosgame