Adds support for iterating function keys.
travisplexer: pr-463-linux travis ci test