Forked from http://github.com/matthewp/keys